package com.base.service;

import com.base.po.voip.AddressBook;
import com.base.po.voip.AddressBookExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressBookService {
    int countByExample(AddressBookExample example);

    int deleteByExample(AddressBookExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AddressBook record);

    int insertSelective(AddressBook record);

    List<AddressBook> selectByExample(AddressBookExample example);

    List<AddressBook> selectByUserID(String userid);

    AddressBook selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AddressBook record, @Param("example") AddressBookExample example);

    int updateByExample(@Param("record") AddressBook record, @Param("example") AddressBookExample example);

    int updateByPrimaryKeySelective(AddressBook record);

    int updateByPrimaryKey(AddressBook record);
}